<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
	<title><?php

	if ( is_page() or is_single() ) {
		the_title();

	} elseif ( is_category() ) {
		printf( __('Category Archive for &lsquo;%s&rsquo;','verygoogle'), single_cat_title('', false) );

	} elseif ( function_exists('is_tag') and function_exists('single_tag_title') and is_tag() ) {
		printf( __('Tag Archive for &lsquo;%s&rsquo;','verygoogle'), single_tag_title('', false) );

	} elseif ( is_archive() ) {
		printf( __('%s Archive','verygoogle'), wp_title('', false) );

	} elseif ( is_search() ) {
		printf( __('Search Results for &lsquo;%s&rsquo;','verygoogle'), attribute_escape(get_search_query()) );
	}

	if ( !is_home() and !is_404() ) {
		_e(' at ','verygoogle');
	}
	
	bloginfo('name');

	?></title>
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="template" content="Very Google v1.0" />
 	<meta name="description" content="本博客专注于WordPress博客程序的DIY，包括插件编写、修改，主题修改、定制，WordPress程序分析等等；此外是一些个人兴趣如看电影，阅读，运动等" />
	<!--<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />-->
	<link rel="stylesheet" href="http://www.charlestang.cn/cc/wp-content/themes/verygoogle/css/css.php" type="text/css" media="screen" />
	<link rel="stylesheet" href="http://www.charlestang.cn/cc/wp-content/themes/verygoogle/css/cell-phone.css" type="text/css" media="handheld" />
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url');?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js.php"></script>
	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/vg.js.php?ver=8.7.25&amp;wpurl=<?php bloginfo('wpurl');?>"></script>
	<?php wp_head(); ?>
	<?php wp_get_archives('type=monthly&format=link'); ?>
	<script type="text/javascript">
		<?php if(is_single()) { ?>
		jQuery(document).ready(function(){
		var s = ": " + jQuery(".post h2").html();
		jQuery("#curr_view").append(s);
		});
		<?php } ?>
		<?php if(is_archive()) { ?>
		jQuery(document).ready(function(){
		var s = ": " + jQuery("span.ac_t").html();
		jQuery("#curr_view").append(s);
		});
		<?php } ?>
	</script>
</head>

<body>
	<div id="topnav">
		<?php wp_register('',''); ?> 
		| 
		<?php wp_loginout(); ?>  
	</div><!--topnav end-->
	<div id="header">
		<div id="sn"><h1><a accesskey="1" href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1></div>

		<div id="descr"><?php bloginfo('description'); ?></div>
			
		<div id="search">
			<?php include(TEMPLATEPATH . '/searchform.php'); ?>
		</div>

	</div>
	<div id="pn">
		<ul class="menu">
			<li class="page_item <?php if (is_home()) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Home Page','verygoogle');?>"><?php _e('Home','verygoogle'); ?></a></div></div></div></li>
			<li class="page_item <?php if (is_page('archives')) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/archives" title="<?php _e('The Achives of This Blog','verygoogle');?>"><?php _e('Archives','verygoogle'); ?></a></div></div></div></li>
			<li class="page_item <?php if (is_page('down')) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/down" title="<?php _e('Download What You Want','verygoogle');?>"><?php _e('Down','verygoogle'); ?></a></div></div></div></li>
			<li class="page_item <?php if (is_page('fotos')) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/fotos" title="<?php _e('Here is Some of My Photos','verygoogle');?>"><?php _e('Photo','verygoogle'); ?></a></div></div></div></li>
			<li class="page_item <?php if (is_page('links')) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/links" title="<?php _e('All My Links','verygoogle');?>"><?php _e('Links','verygoogle'); ?></a></div></div></div></li>
			<li class="page_item <?php if (is_page('about')) echo 'current_page_item'; ?>"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><a href="<?php bloginfo('home'); ?>/about" title="<?php _e('About Me','verygoogle');?>"><?php _e('About','verygoogle'); ?></a></div></div></div></li>
			<?php if (is_single() or is_archive()) { ?>
			<li class="page_item current_page_item"><div class="rd_ul"><div class="rd_ur"><div class="in_pn"><span id="curr_view"><?php _e('View','verygoogle'); ?></span></div></div></div></li>
			<?php } ?>
		</ul> <!-- .menu -->
	</div>
	<div id="fb"></div>
	<div id="page">
